/*
 * @Description:
 * @Author: Bart 1714877505@qq.com
 * @Date: 2025-04-24
 * @LastEditors: Bart 1714877505@qq.com
 * @LastEditTime: 2025-04-25
 */
export const ACCOUNT_TYPE_OPTIONS = [
  { label: '个人', value: 1 },
  { label: '机构', value: 2 },
] as const

export const ACCOUNT_STATUS_OPTIONS = [
  { label: '正常', value: 0 },
  { label: '冻结', value: 9 },
] as const
export const getAccountTypeLabel = (type: number) => {
  return ACCOUNT_TYPE_OPTIONS.find((item) => item.value === type)?.label || '-'
}

export const getAccountStatusLabel = (type: number) => {
  return ACCOUNT_STATUS_OPTIONS.find((item) => item.value === type)?.label || '-'
}
